import Mock from 'mockjs'
import homeApi from './mockData/home'
import userApi from './mockData/user'
import permission from './mockData/permission'

Mock.mock('/home/getData', homeApi.getStaisticalData);
Mock.mock(/user\/add/, 'post', userApi.createUser);
Mock.mock(/user\/edit/, 'post', userApi.updateUser);
Mock.mock(/user\/delete/, 'delete', userApi.deleteUser);

Mock.mock(/user\/getUserList/, 'get', userApi.getUserList);

Mock.mock(/permission\/getMenu/, 'post', permission.getMenu);
